package top.mhtools.pigeon.common.service.support;

import lombok.extern.slf4j.Slf4j;
import top.mhtools.pigeon.common.persistence.SendMessageRequest;

/**
 * 消息通知执行器
 *
 * @author machen
 * @date 2020/4/24 19:22
 */
@Slf4j
public abstract class AbstractSendMessageExecuteStrategy {

    /**
     * 消息发送
     *
     * @param messageRequest
     */
    public abstract void sendMessage(SendMessageRequest messageRequest);

    /**
     * 定义标识
     *
     * @return
     */
    public abstract String supports();
}
